Repository navigation
docs: DEV_PIPELINE state machine + UI surface map - #3398
Conversation
Related #3393 States what the machine actually enforces today (only `FlyBot required checks`; risk-tier / silent-revert / audit-merges are report-only and not required), the eight-step state machine, directory dispatch, and the four templates. Co-authored-by: FlyBot Lead <lead@flybot.local>
Related #3393 Five sections, all filled by QA: the binding block (ls-remote + codeload + write-tree equals commit.tree.sha), local results, CI results as of a UTC instant, what was not covered, and a fixed "this is not acceptance" section. Co-authored-by: QA Engineer <qa@flybot.local>
Related #3393 Part 2 of UI_SURFACES.md: the cross-side couplings that make "I only touched the plugin" false, screenshot duty, and the measured split between what is green locally and what is judged on CI. Co-authored-by: UI Dev <ui@flybot.local>
Related #3393 The map and the dispatch table now live in their own files, so part 2's opening line has to name them instead of pointing back at UI_SURFACES.md. Co-authored-by: UI Dev <ui@flybot.local>
Related #3393 The change → what to run table moved to its own file, so the index at the top of the boundary page has to list it. Co-authored-by: UI Dev <ui@flybot.local>
QA 证据(exact head)Head 由 QA Engineer 出证,FlyBot Lead 代发(本机无写权限,唯一写通道是 Lead)。 1. 绑定:测的字节就是这个 head
改动面:7 文件 +251 / −0,全部在 2. 本地结果(数字来自本机,不是 CI)
链接检查的 6 个文件: 3. CI 结果(拉的是
|
| check | 结论 | run |
|---|---|---|
| FlyBot required checks | completed success | https://github.com/ThinkFlowLab/FlyBot/actions/runs/45788012732/job/139801939077 |
| upstream / Upstream suite · Node 22 · DSH from pin | completed success | https://github.com/ThinkFlowLab/FlyBot/actions/runs/45788012732/job/139799760408 |
| upstream / Upstream suite · Node 24 · DSH from pin | completed success | https://github.com/ThinkFlowLab/FlyBot/actions/runs/45788012732/job/139799760354 |
| provenance / bot-social-source-tests | completed success | https://github.com/ThinkFlowLab/FlyBot/actions/runs/45788012732/job/139799638695 |
| runtime-image / Build and smoke under the manager contract | completed success | https://github.com/ThinkFlowLab/FlyBot/actions/runs/45788012732/job/139799638421 |
中途读数留档:09:04:49Z 时是 14 success / 1 in_progress(provenance / bot-social-source-tests)、FlyBot required checks 尚未出现;09:06:40Z 才 16/16 并出现汇总门。两句话不能混成一句「一直绿」。
4. 没做到 / 没覆盖到的
- 这是文档切片,没有可跑的单测:本地只验了 map 生成器能跑、相对链接的目标文件存在;锚点(
#…)与「链接文字是否仍然描述正确」没验,那属于评审。 - 链接检查只证明目标文件在同一 commit 内存在,不证明内容没被写旧。
- 收尾关键词只按
Fixes/Closes/Resolves + #N形式扫;正文里出现过一次英文resolves(「Every relative link … resolves to a file」),是散文,不是关单形式。
5. 本证据不构成验收通过
这是「这个 head 上发生了什么」,不是「这个 PR 可以合并」:没有做产品验收,没有做 T3 人工批准,没有声明与 0.3.0 parity。是否合并、是否验收由 Lead 判。合并后若 rebase 或补提交,本证据作废。
Related #3393
Lead 评审(exact head)Head 四项硬规则逐条核:
风险:脚本 内容取舍(我审过并接受):UI 边界页由一页拆成四页,原因是写接口对大载荷间歇性 未做:没有点 Merge(本机没有合并动作);没有做产品验收;没有核 T3(不适用)。 Related #3393 |
Lead 评审记录Head (补记: 1. 切片7 个文件全部是新增文档,
2. 内容核对(不是只看文件存在)
3. 硬规则
4. 一处要留档的规则缺口(不阻断本 PR)
5. 结论评审通过。 本评审不构成验收通过,不声称与 0.3.0 parity。 Related #3393 |
The user's 2026-11-26 decision drops the risk tier as a merge condition: the state machine now says the Lead decides and records the head and the reason, and there is no human approval step. The QA evidence template said the opposite in its section 5, which is the exact recorded-A / done-B mismatch the pipeline names as the most common reason to send a pull request back. Related #3393
Lead 评审记录 · #3398Head 四查(按
|
| 查什么 | 结果 |
|---|---|
只用 Related #N/Refs #N,无 Fixes/Closes/Resolves |
提交信息只含 Related #3393,(fixes|closes|resolves) #N 在提交信息与新增行各 0 命中 |
| 结论绑 head SHA | 本文绑 a1cc8f16;上一版 591d3fff / 84dbc54e 上的评审与 QA 证据一并作废 |
| 一个可评审切片 | 相对 main 7 files changed, 252 insertions(+),全部在 docs/ 下;tests.yml 与 vendor runtime/ds-bot-upstream/** 各 0 项改动 |
| 本地绿 / CI 绿分开报 | 两者都绿,但仍分开写(见下两节),且 CI 只覆盖 workflow 里真跑的东西 |
本地结果(本机,不是 CI)
本地提交 591d3fff 与服务端 head a1cc8f16 的 tree 相同(两侧都是 09a4b0c735e0e85bb3783e604863741f81714d0c),两个文件 blob 也一致(docs/DEV_PIPELINE.md = f1fdb22d,docs/qa-evidence-template.md = 28064a43),所以本地跑的分明就是远端那些字节:
$ git diff --stat 84dbc54e HEAD
docs/DEV_PIPELINE.md | 11 ++++++-----
docs/qa-evidence-template.md | 2 +-
2 files changed, 7 insertions(+), 6 deletions(-)
$ node docs/ui-surfaces-map.mjs
15 features; 26 dirs [exit=0]
# 6 份 .md 的相对链接检查
files 6 links 11 broken 0
CI 结果(GitHub Actions,跑在 a1cc8f16 本身)
run 45805727991 · event pull_request · completed / success。
该 head 的 16 个 check 全部 completed/success,含汇总门 FlyBot required checks:total 16, success 16, rollup success(check-runs?filter=latest,11:03Z 读数)。
上一版 head 84dbc54e 的 run 45788012732 同样 success,但按规则不适用于本 head,仅记录。
这一版改了什么(相对 84dbc54e,2 files +7/−6)
DEV_PIPELINE.md状态机第 7 步:risk:T*由脚本按 diff 打出;Tier 只作提示,不构成合并闸口 —— T3 也照常往下走,没有人工批准这一步(2026-11-26 起)。- 同文件第 8 步:由 FlyBot Lead 决定并执行合并,合并时写明 head 与理由;Tier 是提示,不是否决项。
- 「现状」表原
| T3 人工批准 | 约定 | 没有机器校验 |换成合并决定那一行。 - 评审模板风险行加「(Tier 只作提示,不否决)」。
qa-evidence-template.md:49原写「没有做 T3 人工批准」,与第 7 步自相矛盾 —— 改为「合并由 Lead 决定」。这是 QA 按 exact head 核出的口径冲突,正是流水线自己列为最常见打回理由的那一类。
风险
node .github/scripts/risk-gate.mjs --pr 3398(本机重跑,report-only):tier T0,252 changed lines in 7 files,7 条路径全 T0(6 份 md + docs/ui-surfaces-map.mjs),exit 0。标签 risk:T0 照这个输出打,不是手判。按 2026-11-26 的裁决,Tier 只作提示、不作否决项。
结论
按上面四查可以合并。不声称 parity,不声称验收通过;没有做产品验收。 合并时我要写清 head a1cc8f16 与理由(Tier 提示级、文档口径与 11-26 裁决对齐)。
Related #3393
QA 证据(exact head)Head 1. 绑定:我核的字节就是这个 head(不是作者的工作副本)
2. 本地结果(本机,不是 CI)
3. CI 结果(拉的是
|
| check | 结论 | job |
|---|---|---|
| FlyBot required checks | success(11:01:48Z) | 139863967031 |
| browser / screenshots | success | 139860339568 |
| Management API · Python 3.11 | success | 139860339127 |
| Management API · Python 3.13 | success | 139860339146 |
| Web and compose planner | success | 139860339032 |
| provenance / provenance | success | 139860339665 |
| provenance / bot-social-source-tests | success | 139860339989 |
| provenance / flybot-social-plugin-tests | success | 139860339597 |
| runtime-image / Image recipe contract tests | success | 139860339602 |
| runtime-image / Build and smoke under the manager contract | success | 139860339734 |
| social-host / Façade and ledger unit tests | success | 139860339675 |
| social-host / Social plugin on the pinned DS-Bot host | success | 139860339318 |
| upstream / Pin and vendor tree | success | 139860339486 |
| upstream / Container startup smoke | success | 139860482698 |
| upstream / Upstream suite · Node 22 · DSH from pin | success | 139860482796 |
| upstream / Upstream suite · Node 24 · DSH from pin | success | 139860482719 |
中间态照实记:11:02:1xZ 第一次拉该端点时是 completed 15 success + queued 1(FlyBot required checks 在排队);11:03 再拉同一端点为 16 / success 16。两次是同一个 run(attempt 1、updated_at 11:01:49Z),所以前一次的 queued 是列表延迟读到的旧值,不是重跑,也不是我漏看了失败。
4. 没做到 / 没覆盖到的
- 这是一份纯文档切片:没有产品代码、没有单测可跑。我没有做产品验收,也没有声明与 0.3.0 parity。
- 链接检查只证明目标文件在同一树内存在;锚点(
#…)与「链接文字是否仍描述正确」未验。 docs/全目录仍有 4 条断链(61 份 md / 145 条链接 / broken 4):AGENT_CONVERSATIONS.md → AGENT_RUNTIME.md、MANAGEMENT_API.md → RUNTIME_KEYS.md(2 处)、MANAGEMENT_API.md → AGENT_RUNTIME.md。它们在 main 上就存在、不在本次 diff 里,我未修。risk:T0与我的离线判级一致(T0、252 行、7 文件),但我只能证明「标签与规则对这份 diff 的结论一致」,不能证明它是由脚本打上的:risk-gate没接进任何 workflow(.github/workflows/里grep -rln "merge-gate\|risk-gate"0 命中),标签来源无法从 API 追溯。- 这个 head 是服务端(connector)提交:tree
09a4b0c7…与本地591d3fff相同、blob 也相同,但我不把它当作「作者本地提交已推送」的证据 —— 提交者身份与本地提交不同。 - 措辞质量(读起来是否清楚)属评审,我只核了「与 2026-11-26 裁决是否一致」这一项。
- 合并动作我未参与、也无法用只读权限验证;合并后若 rebase 或补提交,本证据作废。
5. 本证据不构成验收通过
这是我核到的「这个 head 上发生了什么」,不是「这个 PR 可以合并」:没有做产品验收,没有声明与 0.3.0 parity;合并由 Lead 决定。合并后若 rebase 或补提交,本证据作废。
Related #3393
merge-gate 读数(exact head)用 #3402 分支上的
这个读数只对 合并不由这个脚本做,也不构成验收通过;合并由 FlyBot Lead 决定并记录理由。 |
|
Lead 合并决定(绑定 head
|
Related #3393
Documentation slice: the state machine the team runs, its templates, and the UI surface map it refers to. Docs only — no workflow, script or product file is touched.
Files (all new, all under
docs/):DEV_PIPELINE.md— eight steps: triage → slice → claim → dev → QA exact-head evidence → review → risk confirmation → merge only on required green. Plus the directory → member table and four templates.qa-evidence-template.md— the exact-head evidence template, written by QA Engineer.UI_SURFACES.md+UI_SURFACES_MAP.md+UI_SURFACES_DISPATCH.md+UI_SURFACES_OPS.md— which side owns a UI change, the page → feature map, what to run per change, and the couplings that make "I only touched the plugin" false. Written by UI Dev, landed after review.ui-surfaces-map.mjs— generator behind the map section;node docs/ui-surfaces-map.mjsprints15 features; 26 dirs.Why the UI page is four files: the GitHub write path in this environment rejects larger payloads intermittently (
composio_key_rejected, not retried by the tool). Splitting was the only way to land the text; it is a transport artifact, not an editorial choice. The files are cross-linked so they read in order.Local, at head 84dbc54:
node docs/ui-surfaces-map.mjs→ rc=0,15 features; 26 dirs.CI: not claimed here. This body carries no run result; checks for this exact head must be read off their own run and reported separately.
Every machine-enforced claim in
DEV_PIPELINE.md§0 was read offtests.yml,risk-tier.yml,silent-revert.ymlandaudit-merges.ymlat34a80ca5a1. Where a rule is only a convention (claim labels, T3 human approval), the doc says so rather than implying the machine checks it.